Bookly\Lib\Slots\Finder D

Total Complexity 161
Dependencies 28
Dependents 2
Total lines 913
Lines of code 576
Logical lines of code 292
Comment lines 217
Methods 23
Properties 21

Methods 23

Method Rating Maintainability Complexity Lines of code
_prepareStaffData()
D
21
38 211
_generate()
C
33 29 89
load()
B
41 18 56
handleCartBookings()
A
44 13 42
_prepareServiceSchedule()
A
49 12 29
_prepareDates()
A
46 11 37
__construct()
A
50 10 26
getSelectedDateForPickadate()
S
56 6 20
getDisabledDaysForPickadate()
S
56 4 17
_groupDefault()
S
72 3 5
_stopDayPerColumn()
S
79 2 3
_stopDefault()
S
79 2 3
_breakDefault()
S
77 2 3
_breakOneSlot()
S
77 2 3
_stopCalendar()
S
80 1 3
prepare()
S
75 1 5
_stopOneSlot()
S
81 1 3
setLastFetchedSlot()
S
72 1 5
setSelectedDate()
S
77 1 4
getSelectedDate()
S
82 1 3
getSlots()
S
82 1 3
hasMoreSlots()
S
82 1 3
isServiceDurationInDays()
S
80 1 3